import {http} from '@/api/service.js';

export const addUsmBtRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/usmbtrecord/addUsmBtRecord',
		data:data
	})
}

export const getUsmBtRecordUnfinished=(params)=>{
	return http.request({
		method:'GET',
		url:'/usmbtrecord/getUsmBtRecordUnfinished',
		params
	})
}

export const getFinishedRecordByLotNo=(params)=>{
	return http.request({
		method:'GET',
		url:'/usmbtrecord/getFinishedRecordByLotNo',
		params
	})
}

export const getUsmBtRecordByID=(params)=>{
	return http.request({
		method:'GET',
		url:'/usmbtrecord/getUsmBtRecordByID',
		params
	})
}

export const uptUsmBtRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/usmbtrecord/uptUsmBtRecord',
		data:data
	})
}

export const delUsmBtRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/usmbtrecord/delUsmBtRecord',
		data:data
	})
}